﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace SampleFacebook
{
    public partial class WebUserControlMenu : System.Web.UI.UserControl
    {        
        protected void Page_Load(object sender, EventArgs e)
        {
            
        }

        private List<ClassMenu> items;

        public List<ClassMenu> Items
        {
            get 
            {
                return this.items;
            }
            set
            {
                this.items = value;
                this.myDataList.DataSource = value;
                this.myDataList.DataBind();
            }
        }
    }
}